package com.sky.module.system.userloginrecord.service;

import com.sky.module.system.userloginrecord.Student;

import java.util.HashMap;
import java.util.Map;

/**
 * @author
 * @date 2023/3/12 11:07
 **/
public class T {
    public static void main(String[] args) throws InterruptedException {
        Map<Student, Object> map = new HashMap<>();

        Student student = new Student();
        student.setName("王力宏");
        map.put(student, "asda");
        System.out.println("map.get(student) = " + map.get(student));
        student.setName("sdasad");
        System.out.println("map.get(student) = " + map.get(student));

    }
}
